<template>
  <div class="large-size">
    <div class="title"> <span class="circle"></span>{{ title }}</div>
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: 'LargeSizeModule',
  props: {
    title: {
      type: String,
      default: '模块标题'
    }
  },
  data () {
    return {}
  }
}
</script>
<style scoped>
  .large-size {
    width: 100%;
    height: 380px;
    box-shadow: 0px 0px 2px 1px #058390 inset;
    /* margin: 20px; */
    border-radius: 3px;
  }
  .title {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 13px;
    font-size: 13px;
    color: #f5f5f5;
  }
  .title::before {
    position: absolute;
    content: '';
    left: 50%;
    top: 0;
    width: 99%;
    height: 1px;
    background: #058390;
    -webkit-box-shadow: 0px 0px 3px 2px #058390;
    box-shadow: 0px 0px 3px 1px #058390;
    transform: translateX(-50%);
    border-radius: 3px;
  }
  .title::after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    width: 99%;
    height: 1px;
    background: #058390;
    -webkit-box-shadow: 0px 0px 3px 2px #058390;
    box-shadow: 0px 0px 3px 1px #058390;
    transform: translateX(-50%);
  }
  .circle {
    width: 2px;
    height: 2px;
    border-radius: 2px;
    background: #22c4f0;
    box-shadow: 0px 0px 2px 2px #22c4f0;
    margin-right: 10px;
  }
</style>